package net.mingsoft.schedule.cms;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

/**
 * @author gengfa
 * @date 22/02/28
 */
@Service
@ConditionalOnProperty(value = "ms.cms.auto-gen")
public class StaticGenerateSchedule {

    @Scheduled(cron = "${ms.cms.cron}")
    void generate() {
        // scratch
    }
}
